import 'package:flutter/material.dart';

/*
 * @Author: 杨璐铭
 * @Date: 2023-05-28 23:58:47
 * @LastEditTime: 2023-05-29 00:18:34
 * @Description: 色彩规范
 */
class SeAppColors {
  ///主色
  ///点击
  static const Color primaryDark = Color(0XFF00A8AD);

  ///常规
  static const Color primary = Color(0XFF75DA9A);
  static const Color primaryYellow = Color(0XFFF8E649);

  ///一般禁用
  static const Color primary1 = Color(0XFF7ED9D9);

  ///文字禁用
  static const Color primary2 = Color(0XFFBFECEC);

  ///浅色/白底悬浮
  static const Color primary3 = Color(0XFFE9F8F8);

  ///辅色
  ///常规
  static const Color secondary = Color(0XFF2CA1F9);
  static const Color secondary2 = Color(0XFFFF9065);

  ///渐变
  static Gradient get primaryGradient {
    return const LinearGradient(
      begin: Alignment.topCenter,
      end: Alignment.bottomCenter,
      stops: [0, 1],
      colors: [Color(0XFF75DA9A), Color(0XFFF8E649)],
    );
  }

  static Gradient get lightYellowGradient {
    return const LinearGradient(
      begin: Alignment(0.71, 0.76),
      end: Alignment(0.17, 0.37),
      stops: [0, 0.9],
      colors: [Color(0XFFFEF7E7), Color(0XFFFFFFFF)],
    );
  }

  static Gradient get lightBlueGradient {
    return const LinearGradient(
      begin: Alignment(0.62, 0.98),
      end: Alignment(0.6, 0.32),
      stops: [0, 1],
      colors: [Color(0XFFE3F6F2), Color(0XFFFFFFFF)],
    );
  }

  ///线条 Line
  ///分割线
  static const Color line = Color(0XFFEDEFF2);

  ///填充 Fill
  ///重/特殊场景
  static const Color fill = Color(0XFFC9CDD4);

  ///深/灰底
  static const Color fill1 = Color(0XFFE5E6EB);

  ///常规/白底悬浮
  static const Color fill2 = Color(0XFFF2F3F5);

  ///浅/禁用
  static const Color fill3 = Color(0XFFF7F8FA);

  ///纯白填充
  static const Color white = Color(0XFFFFFFFF);

  ///文字 Text
  ///强调/正文标题
  static const Color text = Color(0XFF404040);

  ///次强调/正文标题
  static const Color text1 = Color(0XFF4E5969);

  ///次要信息-深
  static const Color text2 = Color(0XFF86909C);

  ///置灰/禁用信息
  static const Color text3 = Color(0XFFB2B8C4);

  ///成功 Success
  ///点击
  static const Color successDark = Color(0XFF22C86C);

  ///常规
  static const Color success = Color(0XFF4BE48F);

  ///禁用
  static const Color success1 = Color(0XFF93EFBC);

  ///特殊场景
  static const Color success2 = Color(0XFFCAF7DE);

  ///浅色背景
  static const Color success3 = Color(0XFFEDFCF3);

  ///警告/提醒 Warning/Notice
  ///点击
  static const Color warningDark = Color(0XFFE7952F);

  ///常规
  static const Color warning = Color(0XFFFCB358);

  ///禁用
  static const Color warning1 = Color(0XFFFACD85);

  ///特殊场景
  static const Color warning2 = Color(0XFFFDEACC);

  ///浅色背景
  static const Color warning3 = Color(0XFFFEF6EA);

  ///
  ///错误 Danger
  ///点击
  static const Color dangerDark = Color(0XFFD93636);

  ///常规
  static const Color danger = Color(0XFFF65252);

  ///禁用
  static const Color danger1 = Color(0XFFFA9797);

  ///特殊场景
  static const Color danger2 = Color(0XFFFDCCCC);

  ///浅色背景
  static const Color danger3 = Color(0XFFFEEDED);

  ///灰色
  static const Color grayEe = Color(0xFFEEEEEE);
  static const Color grayEd = Color(0xFFEDEDED);
  static const Color grayD8 = Color(0xFFD8D8D8);
  static const Color grayF2 = Color(0xFFF2F2F2);
  static const Color grayF5 = Color(0xFFF5F5F5);

  ///页面灰色背景色
  static const Color grayF7 = Color(0xFFF7F7F7);
  static const Color scaffoldBg = Color(0xFFF7F7F7);

  ///开关不可用颜色
  static const Color switchInactiveColor = Color(0xFFDDDDDD);

  ///首页阴影
  static Color homeShadowColor = const Color(0XFFF1F1F1).withOpacity(0.5);
}
